/*
 * Package: org.grassfield.common.service
 * FileName: IMenuListService.java
 *  
 * Created by pandian on Jan 28, 2011
 */
package service;

import java.util.List;
import java.util.Set;

import bean.MenuItem;
import bean.Module;
import bean.UserRole;


/**
 * The Interface IMenuListService.
 */
public interface IMenuListService {
	
	/**
	 * Gets the module list.
	 * 
	 * @return the module list
	 */
	public List<Module> getModuleList();
	/**
	 * Gets the menu list.
	 * 
	 * @param selectedMenuItem the selected menu item
	 * @return the menu list
	 */
	public Set<MenuItem> getMenuList(Long[] selectedMenuItem);
	
	/**
	 * Gets the array.
	 * 
	 * @param newUserRole the new user role
	 * @return the array
	 */
	public Long[] getArray(UserRole newUserRole);
	
	/**
	 * Gets the menu list.
	 * 
	 * @return the menu list
	 */
	public List<MenuItem> getMenuList();

}
